Skip to main content

FlowApprovalCancellar Constructors

An object defining constructors for the FlowApprovalCancellar class.

FlowApprovalCancellar(name, workflowData, workflowCodeInstance)

Constructor for the FlowApprovalCancellar class. Initializes a new instance of the FlowApprovalCancellar class.

Parameters:

name (required): string
The name of the flow object.

workflowData (required): IRuntimeWorkflowData
The workflow data associated with the flow object.

workflowCodeInstance (optional): IWorkflowCode
The optional workflow code instance.


FlowApprovalCancellar(name, workflowData, workflowCodeInstance)

Initializes a new instance of the FlowApprovalCancellar class with the specified name, workflow data, and workflow code instance.

Parameters:

name (required): string
The name of the approval cancellation step.

workflowData (required): IRuntimeWorkflowData
The runtime workflow data associated with the step.

workflowCodeInstance (optional): IWorkflowCode
The workflow code instance used for custom logic. Defaults to null.